#!/bin/sh

./soapcpp2 -cL login.h 
gcc -c loginserver.c 
gcc -c soapC.c 
gcc -c soapServer.c 
gcc -o loginserver loginserver.o soapC.o soapServer.o libgsoap.a -lm
gcc -c soapClient.c 
gcc -c loginclient.c
gcc -o loginclient loginclient.o soapC.o soapClient.o libgsoap.a
mv loginserver ../bin/
mv loginclient ../bin/
mv login.wsdl ../bin/
